/*
** token.h for 42sh in /home/guina_b/
** 
** Made by benoit guina
** Login   <guina_b@epitech.net>
** 
** Started on  Fri Jan 01 00:00:00 2010 benoit guina
** Last update Fri Jan 01 00:00:00 2010 benoit guina
*/

#ifndef H_TOKEN
#define H_TOKEN

struct s_token_type;

typedef struct s_token
{
  struct s_token *next;
  struct s_token_type *type;
  char *s;
} t_token;

t_token *token_init(char *s, int pos);
void token_free(t_token *token);

#endif
